package com.baitengsoft.patentservicemonitor.job.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.baitengsoft.patentservicemonitor.job.dao.PacPatentinfoOutDao;
import com.baitengsoft.patentservicemonitor.job.entity.PacPatentinfoOutEntity;
import com.baitengsoft.patentservicemonitor.job.service.PacPatentinfoOutService;



@Service("pacPatentinfoOutService")
public class PacPatentinfoOutServiceImpl implements PacPatentinfoOutService {
	@Autowired
	private PacPatentinfoOutDao pacPatentinfoOutDao;
	
	@Override
	public PacPatentinfoOutEntity queryObject(Integer id){
		return pacPatentinfoOutDao.queryObject(id);
	}
	
	@Override
	public List<PacPatentinfoOutEntity> queryList(Map<String, Object> map){
		return pacPatentinfoOutDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return pacPatentinfoOutDao.queryTotal(map);
	}
	
	@Override
	public void save(PacPatentinfoOutEntity pacPatentinfoOut){
		pacPatentinfoOutDao.save(pacPatentinfoOut);
	}
	
	@Override
	public void update(PacPatentinfoOutEntity pacPatentinfoOut){
		pacPatentinfoOutDao.update(pacPatentinfoOut);
	}
	
	@Override
	public void delete(Integer id){
		pacPatentinfoOutDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		pacPatentinfoOutDao.deleteBatch(ids);
	}
	
}
